package com.itheima.example;

public class Example12 {
    public static void main(String[] args) {
        int []arr=new int[4];
        arr[0]=2;
        arr[1]=3;
        System.out.println("arr[0]="+arr[0]);
        System.out.println("arr[1]="+arr[1]);
        System.out.println("arr[2]="+arr[2]);
        System.out.println("arr[3]="+arr[3]);
        System.out.println("数组的长度是:"+arr.length);
    }
}
